//
//  FMDBUtils.h
//  oc1
//
//  Created by kokuma on 2017/2/20.
//  Copyright © 2017年 kokumams. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDB.h"


@interface FMDBUtils : NSObject
@property FMDatabase *db;

+ (FMDBUtils *)sharedFMDB;

- (void)deleteDB;
- (BOOL)openOrCreateDB;
- (NSMutableArray *)queryEditData;
- (BOOL)insertOrUpdateEditData:(NSString *)mytitle mycontent:(NSString *)mycontent ;
//- (BOOL)insertEditData;
//- (BOOL)updateEditData;
- (void)closeDb;
@end
